<?php

namespace App\Http\BizServices;

class BaseService
{
    public static function convert($toData, $fromData, $fromFieldName,$toFieldName)
    {
        if (isset($fromData[$fromFieldName])) {
            $toData[$toFieldName] = $fromData[$fromFieldName];
        }
        return $toData;
    }
}
